Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login with phone number #93

Merged
merged 20 commits into from
Jun 3, 2024
Merged

Login with phone number #93

merged 20 commits into from
Jun 3, 2024

Conversation

Ryiguchi
Copy link
Contributor

@Ryiguchi Ryiguchi commented Jun 2, 2024

  • added sms-46elks and sms-twilio plugins
  • changed auth-otp to handle otp via sms
    • added whitelisted country codes
    • changed loginRequest and loginConfirm to emailLoginRequest and emailLoginConfirm

Copy link

changeset-bot bot commented Jun 2, 2024

🦋 Changeset detected

Latest commit: 7760202

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 17 packages
Name Type
@zemble/auth-otp Patch
@zemble/auth Patch
@zemble/cms-users Patch
@zemble/cms Patch
cms-ui Patch
minimal Patch
supplement-stack Patch
@zemble/auth-anonymous Patch
@zemble/auth-api-token Patch
@zemble/auth-apple Patch
@zemble/bull Patch
@zemble/debug Patch
@zemble/firebase-auth Patch
@zemble/supabase Patch
@zemble/todo Patch
todo-app-with-auth-backend Patch
@zemble/ignite Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

apps/minimal/app.ts Outdated Show resolved Hide resolved
packages/auth-otp/graphql/Mutation/smsLoginRequest.ts Outdated Show resolved Hide resolved
packages/auth-otp/graphql/Mutation/smsLoginRequest.ts Outdated Show resolved Hide resolved
packages/auth-otp/graphql/schema.graphql Outdated Show resolved Hide resolved
packages/auth-otp/graphql/schema.graphql Outdated Show resolved Hide resolved
packages/auth-otp/plugin.ts Show resolved Hide resolved
packages/auth-otp/plugin.ts Outdated Show resolved Hide resolved
packages/sms-46elks/plugin.ts Outdated Show resolved Hide resolved
packages/sms-46elks/plugin.ts Show resolved Hide resolved
packages/sms-twilio/plugin.ts Show resolved Hide resolved
readonly dryrun?: 'yes' | 'no'
readonly flashsms?: 'yes' | 'no'
readonly dontlog?: 'message' | 'from' | 'to'
readonly whendelivered?: string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be more of a v2 thing, but since whendelivered is a webhook URL we could set up a route for receiving it (with the routes package), so the developer using the plugin doesn't need to :)

Copy link
Member

@robertherber robertherber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, LGTM! 🥳

@Ryiguchi Ryiguchi merged commit acdedbd into main Jun 3, 2024
15 checks passed
@Ryiguchi Ryiguchi deleted the login-with-phone-number branch June 3, 2024 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants